Rtcl\Models\Listing D

Total Complexity 308
Dependencies 12
Dependents 22
Total lines 1,738
Lines of code 1,025
Logical lines of code 516
Comment lines 409
Methods 130
Properties 24

Methods 130

Method Rating Maintainability Complexity Lines of code
the_social_share()
A
42 15 48
setTermsOrder()
A
47 12 35
__construct()
A
46 11 35
user_contact_location_at_single()
A
50 10 26
get_price_units()
A
52 9 27
the_locations()
A
49 8 32
get_price_html()
A
50 8 26
the_related_listings()
S
43 5 49
get_the_thumbnail()
S
49 6 29
the_gallery()
S
59 6 13
the_categories()
S
55 5 22
get_price_suffix()
S
53 5 21
get_parent_location()
S
60 5 14
can_show_price()
S
67 5 6
get_parent_category()
S
60 4 14
get_label_class()
S
61 4 13
get_promotions()
S
62 4 12
hasAnyPromotion()
S
62 4 11
get_author_name()
S
58 3 15
get_the_thumbnail_id()
S
59 3 14
get_the_thumbnail_url()
S
63 3 11
the_custom_fields()
S
54 2 22
get_author_logo()
S
54 2 22
can_show_store_owner_badge()
S
67 3 7
get_last_child_category()
S
77 3 3
can_add_user_link()
S
68 3 6
can_show_user()
S
68 3 6
get_rating_count()
S
64 3 10
can_show_views()
S
68 3 6
can_show_location()
S
68 3 6
get_categories()
S
71 3 6
can_show_category()
S
68 3 6
can_show_date()
S
68 3 6
can_edit()
S
64 3 10
can_show_membership_badge()
S
67 3 7
get_price_type()
S
67 3 8
the_actions()
S
62 3 10
get_form()
S
71 3 6
get_the_social_share()
S
59 2 14
is_new()
S
60 2 12
the_user_info()
S
57 1 17
has_thumbnail()
S
78 2 3
get_author_id()
S
78 2 3
the_label_class()
S
69 2 6
get_current_selected_category()
S
69 2 7
get_ancestors_category_ids_with_last_child()
S
66 2 9
get_location_ids()
S
71 2 6
getForm()
S
64 2 9
hasPromotion()
S
78 2 3
the_labels()
S
68 2 8
email_to_seller_form()
S
70 2 7
get_date_created()
S
71 2 6
setGeneralSettings()
S
73 2 5
can_show_ad_type()
S
70 2 5
get_owner()
S
68 2 8
can_show_excerpt()
S
71 2 5
setMiscSettings()
S
74 2 5
get_price_unit()
S
71 2 6
get_pricing_type()
S
73 2 4
exists()
S
78 2 3
has_phone()
S
71 2 6
has_location()
S
68 2 7
setPageSettings()
S
74 2 5
can_delete()
S
72 2 6
get_category_ids()
S
71 2 6
get_last_child_category_id()
S
76 2 4
setModerationSettings()
S
74 2 5
get_images()
S
71 2 6
get_owner_email()
S
70 2 7
get_owner_user_name()
S
70 2 7
get_owner_name()
S
70 2 7
get_datetime()
S
81 1 3
get_rating_counts()
S
79 1 3
custom_fields()
S
69 1 7
the_map()
S
91 1 2
get_average_rating()
S
79 1 3
the_price()
S
79 1 3
get_formatted_price()
S
75 1 4
get_the_price()
S
76 1 4
get_max_price()
S
78 1 3
get_price()
S
78 1 3
get_review_count()
S
79 1 3
get_locations()
S
83 1 3
get_post_object()
S
83 1 3
the_content()
S
82 1 3
get_id()
S
82 1 3
the_permalink()
S
79 1 3
the_title()
S
79 1 3
get_the_permalink()
S
79 1 3
get_email()
S
74 1 4
get_the_title()
S
79 1 3
get_owner_id()
S
80 1 3
get_status()
S
82 1 3
get_form_id()
S
82 1 3
get_listing()
S
82 1 3
is_buy()
S
81 1 3
get_menu_order()
S
79 1 3
get_reviews_allowed()
S
79 1 3
get_short_description()
S
79 1 3
get_description()
S
79 1 3
get_slug()
S
79 1 3
get_name()
S
79 1 3
set_review_count()
S
79 1 3
set_average_rating()
S
79 1 3
set_rating_counts()
S
78 1 3
is_featured()
S
78 1 3
is_sell()
S
81 1 3
get_the_content()
S
79 1 3
badges()
S
78 1 3
the_excerpt()
S
79 1 3
the_meta()
S
79 1 3
the_author_logo()
S
79 1 3
get_the_author_url()
S
78 1 3
the_author()
S
79 1 3
the_time()
S
81 1 3
get_the_time()
S
76 1 3
the_thumbnail()
S
79 1 3
the_badges()
S
82 1 3
get_post_type()
S
83 1 3
is_exchange()
S
81 1 3
get_type()
S
76 1 4
get_ad_type()
S
83 1 3
get_view_counts()
S
79 1 3
has_category()
S
80 1 3
has_price_units()
S
80 1 3
isExpired()
S
80 1 3
is_mark_as_sold()
S
74 1 4
is_to_let()
S
81 1 3
is_job()
S
81 1 3
setSettings()
S
73 1 6